<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <ul>
        <li></li>
    </ul>
    <script>
        const ul = document.querySelector('ul')
        // 父元素.removeChild(加要删除的元素)
        ul.removeChild(ul.children[0])
    </script>
</body>

</html>